﻿using Microsoft.AspNetCore.Builder;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ManYan.Common.Middleware
{
    public static class StopwatchMiddlewareExtensions
    {
        public static IApplicationBuilder UseStopwath(this IApplicationBuilder applicationBuilder)
        {
            return applicationBuilder.UseMiddleware<StopWatchMiddleware>();
        }
    }
}
